package com.example.javaairportflightanalysis.service;

import com.example.javaairportflightanalysis.domin.dto.DfdlDto;
import com.github.pagehelper.PageInfo;

import java.text.ParseException;
import java.util.ArrayList;

public interface DfdlService {

    PageInfo getAApno2(Integer pageNum, Integer pageSize) throws ParseException;

    PageInfo getAApno3(Integer pageNum, Integer pageSize) throws ParseException;

    PageInfo getDApno2(Integer pageNum, Integer pageSize) throws ParseException;

    PageInfo getDApno3(Integer pageNum, Integer pageSize) throws ParseException;

    PageInfo selectA2401(String dfltFlno, String dtime,String dfltAwcd, String apcd, String fptt, String fplt, Integer pageNum, Integer pageSize) throws ParseException;

    PageInfo selectD2401(String dfltFlno, String dtime, String dfltAwcd, String apcd, String fptt, String fplt, Integer pageNum, Integer pageSize) throws ParseException;

    PageInfo selectDApno3(String dfltFlno, String dtime, String apcd, String transitApcd, Integer pageNum, Integer pageSize) throws ParseException;

    PageInfo selectAApno3(String dfltFlno, String dtime, String apcd, String transitApcd, Integer pageNum, Integer pageSize) throws ParseException;



    Integer insertAApno2(ArrayList<DfdlDto> a2403) throws ParseException;
    Integer insertDApno2(ArrayList<DfdlDto> d2401) throws ParseException;
    Integer insertAApno3(ArrayList<DfdlDto> a2403) throws ParseException;
    Integer insertDApno3(ArrayList<DfdlDto> d2401) throws ParseException;



//    Integer insertAApno2() throws ParseException;
//    Integer insertDApno2() throws ParseException;
//    Integer insertAApno3() throws ParseException;
//    Integer insertDApno3() throws ParseException;
}
